#!/bin/sh

sqoop export \
--connect jdbc:mysql://node101:3306/yk_traffic_page_view_report \
--username root \
--password 123456 \
--export-dir /yk_jtp_app_ads \
--num-mappers 1 \
--table jtp_app_report \
--update-mode allowinsert \
--input-fields-terminated-by '\001' \
--input-null-non-string '\\N' \
--input-null-string '\\N'